BCM270X_DT: Improve i2c-sensor and i2c-rtc overlay
authorPhil Elwell <phil@raspberrypi.org>
Wed, 31 May 2017 14:27:39 +0000 (15:27 +0100)
committerPhil Elwell <phil@raspberrypi.org>
Wed, 31 May 2017 14:39:30 +0000 (15:39 +0100)
commita34dfa0c735d76bae8942f7a2473f23035c6b3a7
tree1ff1abd1e2ac90e58968b1990185ccabc42b86c8
parent25b81428336a262d08671d3e7f5882c33b53afd8
BCM270X_DT: Improve i2c-sensor and i2c-rtc overlay

Use the "__dormant__" feature to permit multiple instances of each
overlay, which is more useful now that changing the "reg" property
also changes the node address. Although the overlay grows slightly,
when applied only the requested node is included.

Usage does not change, except that the "lm75addr" parameter of the
i2c-sensor overlay has been deprecated in favour of the generic
"addr" parameter.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
arch/arm/boot/dts/overlays/README
arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts